package com.xyz.dto;

import com.xyz.aop.Param;


public class CountDto {

    @Param(isRequired = false, type = Param.ParamType.POSITIVE_INTEGER)
    private String pageNum;

    @Param(isRequired = false, type = Param.ParamType.POSITIVE_INTEGER)
    private String pageSize;

    // 1：月份
    // 2：季度
    // 3：年份
    // 4：自定义
    @Param(type = Param.ParamType.QUALIFIER, rule = "1,2,3,4")
    private String type;

    // type为123时传入的系数
    @Param(isRequired = false, type = Param.ParamType.POSITIVE_INTEGER)
    private String timeNum;

    @Param(isRequired = false, type = Param.ParamType.DATE, rule = "yyyy-MM-dd")
    private String startTime;

    @Param(isRequired = false, type = Param.ParamType.DATE, rule = "yyyy-MM-dd")
    private String endTime;

    public String getPageNum() {
        return pageNum;
    }

    public void setPageNum(String pageNum) {
        this.pageNum = pageNum;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTimeNum() {
        return timeNum;
    }

    public void setTimeNum(String timeNum) {
        this.timeNum = timeNum;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}